package com.hibase.core.emqx.properties;

import lombok.Data;

/**
 * 消息相关配置.
 *
 * @author chenfeng
 * @version 1.0
 * @date 2021/11/15 9:52
 * @des https://gitee.com/cheershi
 */
@Data
public class WillProperties {
    /**
     * 主题.
     */
    private String topic;
    /**
     * 消息内容.
     */
    private String payload;
    /**
     * 消息QOS.
     */
    private Integer qos;
    /**
     * 消息是否保留.
     */
    private Boolean retained;
}
